html {
  margin: 0;
  padding: 0;
  height: 100vh;
}

body {
  margin: 0;
  min-height: 100%;
  font-family: 'Inter', sans-serif;
  color: #859E91;
    background: linear-gradient(
    180deg,
    #f9c7d473 0%,
    #859e9138 80%,
    #f0eee2 100%
    
  );

  background-attachment: fixed;
}

.home-focus {
  border-radius: 24px;
  padding: 36px 32px;
}

h1, h2 {
    font-family: 'Playfair Display', serif;
    font-weight: 500;
}

.center {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 200px;

}

.card {
    width: 100%;
    max-width: 520px;
    background: #f0eee2;
    border: 5px solid #f7e0e4;
    border-radius: 16px;
    padding: 22px;
    text-align: center;
    margin: 0 auto;
    box-shadow: 0 14px 40px rgba(0,0,0,0.08);
    backdrop-filter: blur(3px);

}

@keyframes fadeUp{
  from{ opacity: 0; transform: translateY(10px); }
  to{ opacity: 1; transform: translateY(0); }
}

.card, .container, .letter{
  animation: fadeUp 0.6s ease both;
}

input {
    width: 100%;
    max-width: 620;
    padding: 8px 12px;
    box-sizing: border-box;
    margin: 14px 0 10px;
    border-radius: 12px;
    border: 1px solid #f7e0e4;
    background: #f0eee2;
    color: #99ac73;
    outline: none;   
}

button {
    width: 100%;
    padding: 12px;
    max-width: 260px;
    border-radius: 12px;
    border: 0;
    cursor: pointer;
    background: #F9C7D4;
    color: #859e91;
}

.error {
    margin-top: 10px;
    color: #859E91;
    min-height: 20px;

}

.nav {
    display: flex;
    gap: 16px;
    padding: 16px 20px;
    border-bottom: 3px solid #f7e0e4;
}

.nav a {
    color: #859E91;
    text-decoration: none;
    opacity: 0.85;
    font-weight: 500;
}

.container {
    max-width: 800px;
    margin: 0 auto;
    padding: 24px 20px;
}

.box {
    margin: 18px 0;
    padding: 16px;
    background: #F9C7D4;
    border: 1px solid #f7e0e4;
    border-radius: 16px;
}

.biglink {
    display: inline-block;
    padding: 10px 16px;
    border-radius: 999px;
    background: #F9C7D4;
    color: #506e67;
    border: 1px solid #f7e0e4;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0,15s ease box-shadow 0.15s ease;
    letter-spacing: 0.3px;
}

.biglink:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.08);
}

.nav-sparkles {
    margin-right: 8px;
    opacity: 0.6;
    font-size: 14px;
}

.letter {
    font-family: 'Playful Display', serif;
    font-size: 18px;
    max-width: 900px;
    margin: 20px auto;
    margin-top: 14px;
    padding: 36px;
    background: #F9C7D4;
    border: 1px solid #f7e0e4;
    border-radius: 36px;
    line-height: 1.9;
    box-shadow: 0 18px 40px rgba(0,0,0,0.6);
}

.sig {
    margin-top: 20px;
    opacity: 0.85;
}

h1 {
  margin-bottom: 12px;
}

@keyframes float {
    0% {transform: translateY(0);}
    50%{transform: translateY(-6px);}
    100%{transform: translateY(0); }
}

@keyframes float2 {
    0% {transform: translateY(-6px);}
    50%{transform: translateY(0);}
    100%{transform: translateY(-6px); }
}

.corner-image {
    position:fixed;
    bottom: 20px;
    right: 20px;
    width: 360px;
    height: auto;
    z-index: 10;
    pointer-events: none;
    opacity: 0.95;
    animation: float 4s ease-in-out infinite;
}

.bottom-knight {
    position: fixed;
    bottom: 20px;
    left: 20px;
    width: 260px;
    height: auto;
    z-index: 10;
    pointer-events: none;
    opacity: 0.95;
    animation: float 4s ease-in-out infinite;
}

.bottom-queen {
    position: fixed;
    bottom: 45px;
    left: 220px;
    width: 210px;
    height: auto;
    z-index: 10;
    pointer-events: none;
    opacity: 0.95;
    animation: float2 4s ease-in-out infinite;
}

.corner-cat {
    position:fixed;
    bottom: 20px;
    right: 20px;
    width: 560px;
    height: auto;
    z-index: 10;
    pointer-events: none;
    opacity: 0.95;
    animation: float 4s ease-in-out infinite;
}

.bite {
    position: fixed;
    bottom: 100px;
    left: 20px;
    width: 560px;
    height: auto;
    z-index: 10;
    pointer-events: none;
    opacity: 0.95;
    animation: float 4s ease-in-out infinite;
}

.cuddle-cat {
    position:fixed;
    bottom: 400px;
    right: 20px;
    width: 360px;
    height: auto;
    z-index: 10;
    pointer-events: none;
    opacity: 0.95;
    animation: float 4s ease-in-out infinite;
}

.corner-image,
.corner-cat,
.cuddle-cat,
.bite,
.bottom-knight,
.bottom-queen {
  opacity: 0.85;
}

.fencing-card {
  text-align: center;
}

.fencing-video {
  width: 100%;
  max-width: 700px;
  margin-top: 20px;
  border-radius: 18px;
  box-shadow: 0 18px 40px rgba(0,0,0,0.15);
}

/* Responsive iframe */
.video-wrapper {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 */
  margin-top: 20px;
}

.video-wrapper iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 18px;
}

@media (max-width: 600px) {
  .center { padding: 24px; }

  .nav, .container, .card, .letter {
    position: relative;
    z-index: 5;
  }

  .corner-image,
  .bottom-knight,
  .bottom-queen,
  .corner-cat,
  .bite,
  .cuddle-cat {
    width: 140px !important;
    opacity: 0.28;
    z-index: 1;
    filter: drop-shadow(0 8px 14px rgba(0,0,0,0.10));
  }

  .cuddle-cat { top: 110px; right: 12px; bottom: auto; }
  .corner-cat  { top: 120px; right: 12px; bottom: auto; }
  .bite        { bottom: 18px; left: 12px; }
  .corner-image{ bottom: 14px; right: 12px; }
  .bottom-knight{ bottom: 14px; left: 12px; }
  .bottom-queen { bottom: 14px; left: 110px; }
}

